package top.hg.tool.modules.car.user;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * created by skh on 2019/7/28
 */
@Data
@TableName("tb_user")
public class UserEntity {

	@TableId
	private Integer id;

	@ApiModelProperty("用户名")
	private String name;

	@ApiModelProperty("电话号码")
	private String phone;

	@ApiModelProperty("用户唯一标识")
	private String openId;

	@ApiModelProperty("打开次数")
	private Integer openTime;

	@ApiModelProperty("创建时间")
	private Date createTime;

	@ApiModelProperty("更新时间")
	private Date updateTime;

	@ApiModelProperty("上次登录时间")
	private Date loginTime;

	@ApiModelProperty("状态 1:启用")
	private Integer status;
}
